import Vue from "vue";
import {
  Button,
  Search,
  Tabbar,
  TabbarItem,
  Swipe,
  SwipeItem,
  Lazyload,
  Grid,
  GridItem,
  Col,
  Row,
  Image as VanImage,
  Card,
  Icon,
  Notify,
  Dialog,
  Field,
  Tag,
  DropdownMenu,
  DropdownItem,
  Popup,
  Cell,
  CellGroup,
  GoodsAction,
  GoodsActionIcon,
  GoodsActionButton,
  Stepper
} from "vant";

import "vant/lib/index.css";
Vue.use(Search);
Vue.use(Button);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Lazyload, {
  lazyComponent: true,
});
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Col);
Vue.use(Row);
Vue.use(VanImage);
Vue.use(Card);
Vue.use(Icon);
Vue.use(Dialog);
Vue.use(Notify);
Vue.use(Field);
Vue.use(Tag);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Popup);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);
Vue.use(Stepper);
